package com.cloudcc.mobile.entity.beau;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xhsdele on 2017/6/15 0015.
 */

public class BeauRecordTypeEntity implements Serializable{
    /**
     * result : true
     * returnInfo :
     * returnCode : 1
     * data : [{"relatedobject":"opportunity","isdefault":"true","createbyid":"0050000000000000001","description":"1","name":"test1","createdate":"2015-12-29 00:00","lastmodifyname":null,"Id":"2015E91CFBB5613n9TNZ","isenable":"true","lastmodifyid":"005201638378DF7xcP3r","lastmodifydate":"2016-05-06 00:00"},{"relatedobject":"opportunity","isdefault":"false","createbyid":"0050000000000000001","description":null,"name":"test2","createdate":"2015-12-29 00:00","lastmodifyname":null,"Id":"2015919A4D4CDE2gku2o","isenable":"true","lastmodifyid":"0050000000000000001","lastmodifydate":"2015-12-29 00:00"},{"relatedobject":"opportunity","isdefault":"false","createbyid":"0050000000000000001","description":null,"name":"test3","createdate":"2016-01-13 00:00","lastmodifyname":null,"Id":"2016D7F92C9BE7Ab41Ax","isenable":"true","lastmodifyid":"0050000000000000001","lastmodifydate":"2016-05-06 00:00"}]
     */

    private boolean result;
    private String returnInfo;
    private String returnCode;
    private List<DataBean> data;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getReturnInfo() {
        return returnInfo;
    }

    public void setReturnInfo(String returnInfo) {
        this.returnInfo = returnInfo;
    }

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * relatedobject : opportunity
         * isdefault : true
         * createbyid : 0050000000000000001
         * description : 1
         * name : test1
         * createdate : 2015-12-29 00:00
         * lastmodifyname : null
         * Id : 2015E91CFBB5613n9TNZ
         * isenable : true
         * lastmodifyid : 005201638378DF7xcP3r
         * lastmodifydate : 2016-05-06 00:00
         */

        private String relatedobject;
        private String isdefault;
        private String createbyid;
        private String description;
        private String name;
        private String createdate;
        private Object lastmodifyname;
        private String Id;
        private String isenable;
        private String lastmodifyid;
        private String lastmodifydate;

        public String getRelatedobject() {
            return relatedobject;
        }

        public void setRelatedobject(String relatedobject) {
            this.relatedobject = relatedobject;
        }

        public String getIsdefault() {
            return isdefault;
        }

        public void setIsdefault(String isdefault) {
            this.isdefault = isdefault;
        }

        public String getCreatebyid() {
            return createbyid;
        }

        public void setCreatebyid(String createbyid) {
            this.createbyid = createbyid;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCreatedate() {
            return createdate;
        }

        public void setCreatedate(String createdate) {
            this.createdate = createdate;
        }

        public Object getLastmodifyname() {
            return lastmodifyname;
        }

        public void setLastmodifyname(Object lastmodifyname) {
            this.lastmodifyname = lastmodifyname;
        }

        public String getId() {
            return Id;
        }

        public void setId(String Id) {
            this.Id = Id;
        }

        public String getIsenable() {
            return isenable;
        }

        public void setIsenable(String isenable) {
            this.isenable = isenable;
        }

        public String getLastmodifyid() {
            return lastmodifyid;
        }

        public void setLastmodifyid(String lastmodifyid) {
            this.lastmodifyid = lastmodifyid;
        }

        public String getLastmodifydate() {
            return lastmodifydate;
        }

        public void setLastmodifydate(String lastmodifydate) {
            this.lastmodifydate = lastmodifydate;
        }
    }
}
